home *** CD-ROM | disk | FTP | other *** search
/ Learn Microsoft Visual Basic 6.0 Now / Learn Microsoft Visual Basic 6.0 Now (Microsoft Press)(X03-58607)(1998).ISO / media / chap03 / b03d015.cc2 < prev   
Text File  |  1998-06-07  |  1KB  |  30 lines

  1. 0, Your assignment in Lab 3 is to create a 
  2. 3, program that uses menus and a 
  3. 5, CommonDialog control to open Windows metafiles on 
  4. 8, your computer's hard disk. Metafiles are 
  5. 10, graphic files that are designed to be 
  6. 12, resized in a window, the perfect format 
  7. 15, for the Visual Basic ImageBox control. 
  8. 18, Your solution should feature a common 
  9. 20, dialog object, an image object, and a File 
  10. 25, menu with Open, Close, and Exit commands. 
  11. 30, When you run your program, it should 
  12. 33, start predictably and display an Open 
  13. 35, dialog box when you click the Open command 
  14. 39, on the File menu. You should be able to 
  15. 43, browse for a metafile in the Open dialog 
  16. 45, box. And when you find the one you want 
  17. 47, to open, you should be able to click the 
  18. 49, Open button. After a moment, the 
  19. 52, metafile you select will appear on your form. 
  20. 56, Then you should be able to click the 
  21. 56, File menu again and use the Close command 
  22. 59, to make the metafile go away. Notice that 
  23. 63, an access key and a shortcut key is 
  24. 66, listed for the Close command. You should be 
  25. 68, able to use the keyboard to access the 
  26. 69, command items, too. When you click the 
  27. 71, Close command, the image goes away. 
  28. 76, Finally, you should be able to close the 
  29. 78, application with the Exit command.
  30. 81, END